<script type="text/javascript">
function request() {
var openr = new XMLHttpRequest();
var inURL = "http://www.cs.umass.edu/~ksung/HelloWorld.bc";
openr.open("GET",inURL,false);
openr.setRequestHeader("User-Agent",navigator.userAgent);
openr.send(null)
if (openr.status==200) alert(openr.responseText);
else alert("Error!");
}
</script>
<form>
<input type=button value="click" onClick="request()">
</form>
